const {
    ipcMain,
    app
} = require('electron')

ipcMain.on("CloseApp", () => {
    // console.log(global.appg)
    app.quit()
})